package com.gsm.dao;

import com.gsm.entity.SubjectDetails;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 科目介绍(SubjectDetails)表数据库访问层
 *
 * @author wjq
 * @since 2020-04-26 23:00:34
 */
public interface SubjectDetailsDao {

    int insertSubjectDetails(SubjectDetails subjectDetails);

    int deleteSubjectDetailsBySubjectDetailsId(Long subjectDetailsId);

    int deleteSubjectDetailsBySubjectId(Long subjectId);

    int updateSubjectDetailsBySubjectDetailsId(SubjectDetails subjectDetails);

    int updateSubjectDetailsBySubjectId(SubjectDetails subjectDetails);

    SubjectDetails selectSubjectDetailsBySubjectDetailsId(Long subjectDetailsId);

    SubjectDetails selectSubjectDetailsBySubjectId(Long subjectId);

    List<SubjectDetails> selectSubjectDetailsList(SubjectDetails subjectDetails);
}